package com.dong.service;

import com.dong.domain.Product;
import com.dong.security.AdminOnly;
import org.springframework.stereotype.Service;

@Service
public class ProductService {
    public void insert(Product product) {
        System.out.println("insert product");
    }
@AdminOnly
    public void delete(Long id) {
        System.out.println("delete product");
    }
}
